<?php
require_once "config.php";
require_once "process_date.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hotels With Offers</title>
	<script language="Javascript" type="text/javascript" src="js/jquery-1.4.1.js"></script>
	<script language="Javascript" type="text/javascript" src="js/jquery.lwtCountdown-1.0.js"></script>
	<script language="Javascript" type="text/javascript" src="js/misc.js"></script>
<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="wrapper">
    <div id="header">
        <div class="headerRight">
            <div class="username"><input class="usernametxtbox" type="text" value="username" /></div>
            <div class="password"><input class="passwordtxtbox" type="text" value="password" /></div>
            <a href="#"><div class="login"><input class="logmein" name="" type="button" /></div></a>
            <span class="account"><a href="#">No Account? Register Now!</a></span>
            <div class="sociallinks"><a href="#"><img src="images/twt.png" alt="Tweet about Hotel with Offers" /></a><a href="#"><img src="images/fb.png" alt="Share Hotel with Offers on Facebook" /></a><a href="#"><img src="images/ln.png" alt="Connect Hotel with Offers with LinkedIn" /></a></div>
        
            <br class="clear">
        </div>
        <div class="logo"><img src="images/logo.png" width="255" height="81" alt="Hotels with Offers" /></div>
        <br class="clear">
    </div>
    
<div class="contentPane">
  <div id="sidebar">
    <span class="menu"><img src="images/call.png" alt="Advertise with Hotel with Offers" class="callus"  /></span>
    <div class="joinus">
      <h1>INVITE A FRIEND</h1>
      <h2>Tell a friend and win Rs100.00</h2>
      <div class="joinbtn"><a href="#">LEARN&nbsp;MORE</a></div>
     </div>
    <div class="reserve"><span class="reserveitem">Reserved for :</span> <span class="reserveitem">advertising</span> <span class="reserveitem">latest news</span> <span class="reserveitem">soon ending deals &amp; offers</span></div>
  </div>
  <div class="leftPane">
    <div class="mainMenu">menu here</div>
    <div class="newsletterModule">
      <div class="signupBox">
        <input name="textfield" type="text" id="signupField" value="Enter your email here" />
        <input type="submit" name="button" id="signupButton" value="Submit" />
      </div>
      <p>BE THE FIRST TO RECIEVE OUR DEAL ALERTS. SIGN UP NOW!</p>
</div>
    <div id="Listings">
      <div class="item">
        <div class="content">
          <div class="imageHolder">
            <div class="corners"></div>
            <img src="images/sample_image.jpg" width="282" height="196" alt="Hotel with Offers" /></div>
          <div class="intro">
              <div class="introUpper">
                <h1>Kandalama</h1>
                <div class="socialNetworkWidgets">Social Network Widgets Here
                <a href="#" class="emailaFriend">Email a Friend</a>
                <div class="clear"></div>
                </div>
                <h2 class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ...</h2>
              </div>
              <div class="introLower">
                <div class="actions">
                  <div class="pricing">
                    <ul>
                      <li class="normalPrice"><em>Normal Price</em><br /> 
                        $244.00</li>
                      <li><em>You Save</em><br />$121.99</li>
                    </ul>
                  </div>
                  <div class="callToAction">
                    <div class="moreInfo"><a href="#">more info</a></div>
                  	<div class="buyNow"><a href="#"><img src="images/button_buynow.png" alt="Hotel with Offers | Buy Now" width="108" height="37" border="0" /></a></div>
                  </div>
                  
                </div>
                <div class="price currencyUSD">
                  <h1><a href="#">50% OFF</a></h1>
                  <h2><a href="#"><strong>$</strong>121.99</a></h2>
                  <h3><a href="#">284 SOLD</a></h3>
                </div>
              </div>
          </div>
</div>
        <div class="footer">
          <div class="countdown">Offer ends in<br />
           <div id="countdown_dashboard">
			<div class="dash weeks_dash">
				<span class="dash_title">weeks</span>
				<div class="digit"><?=$date['weeks'][0]?></div>
				<div class="digit"><?=$date['weeks'][1]?></div>
			</div>

			<div class="dash days_dash">
				<span class="dash_title">days</span>
				<div class="digit"><?=$date['days'][0]?></div>
				<div class="digit"><?=$date['days'][1]?></div>
			</div>

			<div class="dash hours_dash">
				<span class="dash_title">hours</span>
				<div class="digit"><?=$date['hours'][0]?></div>
				<div class="digit"><?=$date['hours'][1]?></div>
			</div>

			<div class="dash minutes_dash">
				<span class="dash_title">minutes</span>
				<div class="digit"><?=$date['mins'][0]?></div>
				<div class="digit"><?=$date['mins'][1]?></div>
			</div>

			<div class="dash seconds_dash">
				<span class="dash_title">seconds</span>
				<div class="digit"><?=$date['secs'][0]?></div>
				<div class="digit"><?=$date['secs'][1]?></div>
			</div>

		</div></div>
          <div class="askQuestion"><a href="#">Ask a question about this offer</a></div>
        </div>
      </div>
      <div class="item">
        <div class="content">
          <div class="imageHolder">
            <div class="corners"></div>
            <img src="images/sample_image.jpg" width="282" height="196" alt="Hotel with Offers" /></div>
          <div class="intro">
            <div class="introUpper">
              <h1>Kandalama</h1>
              <div class="socialNetworkWidgets">Social Network Widgets Here <a href="#" class="emailaFriend">Email a Friend</a> <br class="clear" />
              </div>
              <h2 class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ...</h2>
            </div>
            <div class="introLower">
              <div class="actions">
                <div class="pricing">
                  <ul>
                    <li class="normalPrice"><em>Normal Price</em><br />
                      $244.00</li>
                    <li><em>You Save</em><br />
                      $121.99</li>
                  </ul>
                </div>
                <div class="callToAction">
                  <div class="moreInfo"><a href="#">more info</a></div>
                  <div class="buyNow"><a href="#"><img src="images/button_buynow.png" alt="Hotel with Offers | Buy Now" width="108" height="37" border="0" /></a></div>
                </div>
              </div>
              <div class="price currencyUSD">
                <h1><a href="#">50% OFF</a></h1>
                <h2><a href="#"><strong>$</strong>121.99</a></h2>
                <h3><a href="#">284 SOLD</a></h3>
              </div>
            </div>
          </div>
        </div>
        <div class="footer">
          <div class="countdown">Offer ends in<br />
            <strong>11DAYS : 23HRS : 39MINS</strong></div>
          <div class="askQuestion"><a href="#">Ask a question about this offer</a></div>
        </div>
      </div>
      <div class="item">
        <div class="content">
          <div class="imageHolder">
            <div class="corners"></div>
            <img src="images/sample_image.jpg" width="282" height="196" alt="Hotel with Offers" /></div>
          <div class="intro">
            <div class="introUpper">
              <h1>Kandalama</h1>
              <div class="socialNetworkWidgets">Social Network Widgets Here <a href="#" class="emailaFriend">Email a Friend</a> <br class="clear" />
              </div>
              <h2 class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ...</h2>
            </div>
            <div class="introLower">
              <div class="actions">
                <div class="pricing">
                  <ul>
                    <li class="normalPrice"><em>Normal Price</em><br />
                      $244.00</li>
                    <li><em>You Save</em><br />
                      $121.99</li>
                  </ul>
                </div>
                <div class="callToAction">
                  <div class="moreInfo"><a href="#">more info</a></div>
                  <div class="buyNow"><a href="#"><img src="images/button_buynow.png" alt="Hotel with Offers | Buy Now" width="108" height="37" border="0" /></a></div>
                </div>
              </div>
              <div class="price currencyUSD">
                <h1><a href="#">50% OFF</a></h1>
                <h2><a href="#"><strong>$</strong>121.99</a></h2>
                <h3><a href="#">284 SOLD</a></h3>
              </div>
            </div>
          </div>
        </div>
        <div class="footer">
          <div class="countdown">Offer ends in<br />
            <strong>11DAYS : 23HRS : 39MINS</strong></div>
          <div class="askQuestion"><a href="#">Ask a question about this offer</a></div>
        </div>
      </div>
    </div>
    <br class="clear">
</div>
</div>
<br class="clear" />
</div>
<div id="footerWrapper">
<div id="footer">
  <div class="leftllinks">
    <ul>
      <li><a href="#">getting started</a></li>
      <li><a href="#">hotel offers</a></li>
      <li><a href="#">great deals</a></li>
      <li><a href="#">tour packages</a></li>
      <li><a href="#">blog</a></li>
      <li><a href="#">support</a></li>
    </ul>
  </div>
  <div class="rightllinks">
    <ul>
      <li><a href="#">login</a></li>
      <li><a href="#">register</a></li>
      <li><a href="#">advertise with us</a></li>
      <li><a href="#">post your deals</a></li>
      <li><a href="#">post your hotel offers</a></li>
      <li><a href="#">contact us</a></li>
    </ul>
  </div>
  <div class="footerSocial"><a href="#"><img src="images/twt.png" alt="Tweet about Hotel with Offers" /></a><a href="#"><img src="images/fb.png" alt="Share Hotel with Offers on Facebook" /></a><a href="#"><img src="images/ln.png" alt="Connect Hotel with Offers with LinkedIn" /></a></div>
  <br class="clear" />
  <div class="copyright">© 2011 All Rights Reserved</div>
</div>
</div>
    <script language="javascript" type="text/javascript">
			jQuery(document).ready(function() {
				$('#countdown_dashboard').countDown({
					targetDate: {
						'day': 		<?=$config['targetDate']['day']?>,
						'month': 	<?=$config['targetDate']['month']?>,
						'year': 	<?=$config['targetDate']['year']?>,
						'hour': 	<?=$config['targetDate']['hour']?>,
						'min': 		<?=$config['targetDate']['minute']?>,
						'sec': 		<?=$config['targetDate']['second']?>
					}
				});

				// Subscription functions

			});
		</script>
</body>
</html>
